package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

/**
 * Created by F on 2019/5/21.
 */
public class ReqB113ProtocolSubmitDetail {
    public String reqSeqID;
    public String billNum;
    public String billType;
    public String billAmt;
    public String billCur;
    public String issDate;
    public String dueDate;
    public String contractNo;
    public String invoiceNo;
    public String transFlag;
    public String mustPay;
    public String memo;
    public String drawName;
    public String drawAct;
    public String drawActArea;
    public String drawCode;
    public String drawBnkName;
    public String drawBnkCode;
    public String accpName;
    public String accpAct;
    public String accpCode;
    public String accpBnkName;
    public String accpBnkCode;
    public String accpSameBnk;
    public String payeeName;
    public String payeeAct;
    public String payeeBnkName;
    public String payeeBnkCode;
    public String payeeSameBnk;
    public String reqReserve3;
    public String reqReserve4;

    public XElement srcElement;

    public ReqB113ProtocolSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        billNum = srcElement.getSingleText("BillNum");
        billType = srcElement.getSingleText("BillType");
        billAmt = srcElement.getSingleText("BillAmt");
        billCur = srcElement.getSingleText("BillCur");
        issDate = srcElement.getSingleText("IssDate");
        dueDate = srcElement.getSingleText("DueDate");
        contractNo = srcElement.getSingleText("ContractNo");
        invoiceNo = srcElement.getSingleText("InvoiceNo");
        transFlag = srcElement.getSingleText("TransFlag");
        mustPay = srcElement.getSingleText("MustPay");
        memo = srcElement.getSingleText("Memo");
        drawName = srcElement.getSingleText("DrawName");
        drawAct = srcElement.getSingleText("DrawAct");
        drawActArea = srcElement.getSingleText("DrawActArea");
        drawCode = srcElement.getSingleText("DrawCode");
        drawBnkName = srcElement.getSingleText("DrawBnkName");
        drawBnkCode = srcElement.getSingleText("DrawBnkCode");
        accpName = srcElement.getSingleText("AccpName");
        accpAct = srcElement.getSingleText("AccpAct");
        accpCode = srcElement.getSingleText("AccpCode");
        accpBnkName = srcElement.getSingleText("AccpBnkName");
        accpBnkCode = srcElement.getSingleText("AccpBnkCode");
        accpSameBnk = srcElement.getSingleText("AccpSameBnk");
        payeeName = srcElement.getSingleText("PayeeName");
        payeeAct = srcElement.getSingleText("PayeeAct");
        payeeBnkName = srcElement.getSingleText("PayeeBnkName");
        payeeBnkCode = srcElement.getSingleText("PayeeBnkCode");
        payeeSameBnk = srcElement.getSingleText("PayeeSameBnk");
        reqSeqID = srcElement.getSingleText("PostScript");
        reqReserve3 = srcElement.getSingleText("ReqReserve3");
        reqReserve4 = srcElement.getSingleText("ReqReserve4");
    }
}
